gdk/x11: Extract GdkDeviceTool tool ID from "Wacom Serial IDs" property
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 17 Aug 2017 12:07:12 +0000 (14:07 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 17 Aug 2017 14:31:33 +0000 (16:31 +0200)
commitc2e08122d8657d2e0d378849d003ff3057e8dfc0
tree9f701924d7db705d38cd62824b39d805218664f1
parentee1e2c9dac72b60fe1bfbef5cea9cee5eda63c3f
gdk/x11: Extract GdkDeviceTool tool ID from "Wacom Serial IDs" property

This property contains 5 integers, of which the last 2 respectively
contain the tool serial number and tool ID. We were only extracting the
first so far, but GdkDeviceTool also has API getters for the latter,
which remained 0.

https://bugzilla.gnome.org/show_bug.cgi?id=786400
gdk/x11/gdkdevicemanager-xi2.c